package com.biyabi.service;

import com.biyabi.entity.Coupon;
import com.biyabi.pojo.CouponsData;

import java.util.List;

public interface CouponService {
    void add(Coupon coupon);
    void update(Coupon coupon);
    Coupon findOne(String id);
    CouponsData findAll(Integer currentPage, Integer pageSize,String columnName,String columnValue);
    public List<Coupon> findByUser(String userId);
}
